<?php

/**
 * @OA\Info(
 *   version="1.0",
 *   title="Back.php",
 *   description="app 目录下的 Back.php"
 * )
 *
 * @OA\Server(
 *   description="Local server",
 *   url="http://local.swagger.cm/api",
 * )
 *
 * @OA\Server(
 *   description="Remote server",
 *   url="http://remote.swagger.cm/api",
 * )
 */

/**
 * @OA\Tag(
 *   name="pet - tags",
 *   description="pet - tags - description"
 * )
 */


/**
 * @OA\Schema(
 *     schema="Cat",
 *     description="Cat model - description",
 *     title="Cat model - title",
 *     required={"name", "photoUrls"},
 *     @OA\Xml(
 *         name="Cat"
 *     ),
 *     @OA\Property(
 *         property="id",
 *         title="id - title",
 *         description="id - description",
 *         type="integer",
 *         format="int64",
 *         required={"true","false", "ennn"}
 *     ),
 * )
 */

/**
 * @OA\Get(
 *   path="/news",
 *   summary="资讯列表",
 *   operationId="newsList",
 *   tags={"news"},
 *   security={{"jwt": {}}},
 *   @OA\Parameter(name="type", in="query", required=true, description="类型", @OA\Schema(type="integer")),
 *   @OA\Parameter(name="keywords", in="query", required=false, description="关键词", @OA\Schema(type="string")),
 *   @OA\Parameter(name="created_at", in="query", required=false, description="创建时间", @OA\Schema(type="string")),
 *   @OA\Response(response=200, description="OK",
 *     @OA\JsonContent(type="object",
 *       @OA\Property(property="data", @OA\Items(ref="#/components/schemas/Cat")),
 *       @OA\Property(property="meta", ref="#/components/schemas/Pet"),
 *     )
 *   ),
 *   @OA\Response(response=401, description="Unauthorized")
 * )
 */
